package com.example.petproject.entity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;
import java.util.List;

/**
 * 包名称：com.example.petproject.entity
 * 类名称：SkuList
 * 类描述：商品sku列表
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月13日 14:27
 **/
@Schema(description = "商品sku列表",name = "商品sku列表")
public class DetailSkuList {

    @Schema(description = "商品skuId")
    private Integer id;
    @Schema(description = "商品spuId")
    private Integer spuId;
    @Schema(description = "商品名称")
    private String title;
    @Schema(description = "商品价格")
    private BigDecimal price;
    @Schema(description = "商品单位")
    private String unit;
    @Schema(description = "商品库存")
    private Integer stock;
    @Schema(description = "商品sku规格（json格式）")
    private String productSkuSpecification;
    @Schema(description = "商品sku图片列表")
    private List<DetailSkuPicList> skuPicList;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSpuId() {
        return spuId;
    }

    public void setSpuId(Integer spuId) {
        this.spuId = spuId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getProductSkuSpecification() {
        return productSkuSpecification;
    }

    public void setProductSkuSpecification(String productSkuSpecification) {
        this.productSkuSpecification = productSkuSpecification;
    }

    public List<DetailSkuPicList> getSkuPicList() {
        return skuPicList;
    }

    public void setSkuPicList(List<DetailSkuPicList> skuPicList) {
        this.skuPicList = skuPicList;
    }
}
